package com.yykj.user.center.client.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class ConsultationOrderInfoDTO {
    private String id;

    private Integer hospitalId;

    private String hospitalName;

    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty("支付人的帐号ID")
    private String payAccountId;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("接诊时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime receiveTime;

    @ApiModelProperty("支付金额")
    private BigDecimal payAmount;

    @ApiModelProperty("状态：0生成订单 1待接诊  2问诊中  3已完成 4已退款")
    private Integer state = 0;

    @ApiModelProperty("患者支付状态-1:取消,0:待支付,1:已支付")
    private Integer payStatus=0;

    @ApiModelProperty("患者退款状态-1:未退款,0:申请退款,1:已退款,2:退款失败")
    private Integer refundStatus=-1;

    @ApiModelProperty("支付方式,1:微信,2:支付宝")
    private Integer payType=0;

    @ApiModelProperty("服务结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime serviceEndTime;

    @ApiModelProperty("就诊卡号ID")
    private String patientCardId;

    private String patientName;

    @ApiModelProperty("订单类型：11、图文问诊 12、语音问诊 13、视频问诊 14、检查订单 15、检验订单")
    private Integer orderType;

    private String doctorId;

    private String doctorName;

    @ApiModelProperty("医生腾讯Id")
    private String doctorTencentAccountId;

    @ApiModelProperty("患者腾讯Id")
    private String patientTencentAccountId;
}
